﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FMixPlayer
{
    //Класс задачи
    public class Task
    {
        public int id;
        public string name;
        public string creator;
        public string executor;
        public string comment;
        public string starttime;
        public string endtime;
        public int completed;
        public string status;
        public string temp;


        public Task()
        {
 
        }

        public Task(int _id, string _name, string _creator, string _executor,string _comment,string _starttime,string _endtime,int _completed,string _status,string _temp)
        {
            id = _id;
            name = _name;
            creator = _creator;
            executor = _executor;
            comment = _comment;
            starttime = _starttime;
            endtime = _endtime;
            completed = _completed;
            status = _status;
            temp = _temp;
        }
    }
    //Класс пользователя
    public class User
    {
        public int idusers;
        public string login;
        public int payment;
        //public string password;
  


        public User()
        {

        }

        public User(int _idusers, string _login,int _payment)
        {
            idusers = _idusers;
            login = _login;
            payment = _payment;
        }

    }
    //Класс статуса
    public class Status
    {
        public int id;
        public string status;


        public Status()
        {

        }

        public Status(int _id, string _status)
        {
            id = _id;
            status = _status;
        }
    }

    public class Project
    {
        public int id;
        public string name;

        public Project()
        {

        }

        public Project(int _id, string _name)
        {
            id = _id;
            name = _name;
        }
    }
}
